package generator.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

/**
 * @TableName addr
 */
@TableName(value ="addr")
@Data
public class Addr implements Serializable {
    @TableId(value = "id",type = AUTO)
    private Integer id;

    private String address;

    private Integer stuId;

    private static final long serialVersionUID = 1L;
}